home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Games / flying-6.11 / README < prev    next >
Encoding:
Text File  |  1995-06-30  |  3.9 KB  |  86 lines

  1.     ______      _
  2.    / __/ /_  __(_)___  ____ _
  3.   / /_/ / / / / / __ \/ __ `/
  4.  / __/ / /_/ / / / / / /_/ /
  5. /_/ /_/\__, /_/_/ /_/\__, /    V6.11
  6.       /____/        /____/
  7.  
  8.  
  9. Creating the executable shouldn't be too difficult, even though no Imakefile
  10. is included. But the normal Makefile isn't too complex and you only should
  11. check out, if it will find the right C++-compiler and the X-Library and
  12. includes. After linking, you should be able to just use it as the manual page
  13. says. But if you want to install it to be use by more persons or if you're
  14. just curious, you might want to know a bit more about internals.
  15.  
  16. Since the main purpose for me was not directly writing a game, but more to
  17. experiment with some algorithms, many things are configurable in the program.
  18. All the parameters that would change the executable are to be set in the file
  19. 'global.h'. One important thing is to name a directory, where the program can
  20. later on read and write data-files for the pixmap-data, that is needed for the
  21. smooth ball animation in the deluxe-version of pool. If the data-files are not
  22. accessible, the program has to recompute it, which might take a lot of time.
  23. (For information, on my 1280 pixel wide screen, I need 37x37=1369 bitmaps for
  24.  half balls and 75x37=2775 bitmaps for full balls in the default size. When
  25.  too many bitmaps will get neccessary you might get memory problems, e.g.
  26.  on X-Terminals.)
  27.  
  28. An interresting thing to experiment with might be the Real-Class. Real is
  29. usually defined as float or double. But there is also a complete inline-class
  30. available for it. Unfortunately using the class isn't too fast, but this
  31. probably depends on the smartness of the compiler. (Anyway, does anybody have
  32. a similar Real-Class implemented by using integer? I could really use it on
  33. my slow 386).
  34.  
  35. There is also the main DEBUG-flag, which enables debugging switches all over
  36. the source and should usually be unset, even so the switch don't consume too
  37. much time.
  38.  
  39. Constant game parameters like object size and friction are all defined in
  40. 'global.C'. But for not always re-compiling the program when changing them
  41. they can also be set dynamically in the file 'presets.txt'. The correct syntax
  42. and the current value can be seen with the option -presets when starting the
  43. game.
  44.  
  45.  
  46. By the way, there actually exists a DOS-version of the program, but that was
  47. never really meant for playing. It's just there because the development of
  48. the game took place on a small 386-notebook. After running the program got too
  49. slow when too many objects were there, I ported the program to use X-windows.
  50. Even though I still developed the routines at home, the real testing then took
  51. place during the coffee and lunch breaks at my office. There are even some
  52. special parts like the ball animation, that don't run at all in DOS. I am
  53. thinking on porting these things back to DOS, but I probably would need some
  54. specialized assembler library to do the smooth animation.
  55.  
  56.  
  57.  
  58. After installation, I would be pleased if you send me a short note
  59. just for curiosity and tell me:
  60. - if there were any problems and what they were
  61. - if you like it and what you think is missing
  62. The more notes I get, the higher the chances that I will spend
  63. more time on that packages.
  64.  
  65.  
  66. Have fun.
  67.  
  68.        __  __     __                __     __  __                 _
  69.       / / / /__  / /___ ___  __  __/ /_   / / / /___  ___  ____  (_)___ _
  70.      / /_/ / _ \/ / __ `__ \/ / / / __/  / /_/ / __ \/ _ \/ __ \/ / __ `/
  71.     / __  /  __/ / / / / / / /_/ / /_   / __  / /_/ /  __/ / / / / /_/ /
  72.  _ /_/ /_/\___/_/_/ /_/ /_/\__,_/\__/  /_/ /_/\____/\___/_/ /_/_/\__, /
  73. /__________________________________e-mail: Helmut.Hoenig@hub.de______/
  74.  
  75.  
  76.  
  77. History:
  78. ========
  79.  
  80. V6.3  - just a few includes were changed to make the program more portable.
  81.       - a SOLARIS switch was added
  82. V6.9  - new background colors / new balls / includes Xos.h /
  83.         improved color handling / less ANSI C
  84. V6.11 - new flags: -nohints, -red, -green, -blue
  85.         minor corrections
  86.